package cn.DesignModel.abstractMethod;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class PizzaStore {
    private AbstractFactory abstractFactory;

    public PizzaStore(AbstractFactory abstractFactory) {
        this.abstractFactory = abstractFactory;
    }

    public void prepare() {
        this.abstractFactory.createCheese();
        this.abstractFactory.createDurian();
    }


}
